﻿using System.Collections;

namespace MiniFox.Components.Configurations
{
    /// <summary>
    /// 
    /// </summary>
    public interface IComponentConfigCollection : IEnumerable<IComponentConfig>
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="name"></param>
        /// <returns></returns>
        IComponentConfig this[string name] { get; }
        ///// <summary>
        ///// 
        ///// </summary>
        ///// <param name="setting"></param>
        //void Add(IComponentConfig setting);
        ///// <summary>
        ///// 
        ///// </summary>
        ///// <param name="name"></param>
        ///// <returns></returns>
        //bool Remove(string name);
    }
}